package com.gugee.ins.common.model.spider.media;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

/**
 *
 * @author Huangxin
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class EdgeMediaCaption {

    private List<EdgeMediaCaptionEdge> edges;

    /**
     *
     * @author Huangxin
     */
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class EdgeMediaCaptionEdge {
        private EdgeMediaCaptionNode node;
    }

    /**
     *
     * @author Huangxin
     */
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class EdgeMediaCaptionNode {
        private String text;
    }
}
